home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / TextEngines.p < prev    next >
Text File  |  1996-05-01  |  2KB  |  63 lines

  1. {
  2.      File:        TextEngines.p
  3.  
  4.      Version:    Technology:    System 8
  5.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  6.  
  7.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. }
  16. {$IFC UNDEFINED UsingIncludes}
  17. {$SETC UsingIncludes := 0}
  18. {$ENDC}
  19.  
  20. {$IFC NOT UsingIncludes}
  21.  UNIT TextEngines;
  22.  INTERFACE
  23. {$ENDC}
  24.  
  25. {$IFC UNDEFINED __TEXTENGINES__}
  26. {$SETC __TEXTENGINES__ := 1}
  27.  
  28. {$I+}
  29. {$SETC TextEnginesIncludes := UsingIncludes}
  30. {$SETC UsingIncludes := 1}
  31.  
  32. {$IFC UNDEFINED __TYPES__}
  33. {$I Types.p}
  34. {$ENDC}
  35. {$IFC UNDEFINED __QUICKDRAW__}
  36. {$I QuickDraw.p}
  37. {$ENDC}
  38. {$IFC UNDEFINED __TEXTENGINETYPES__}
  39. {$I TextEngineTypes.p}
  40. {$ENDC}
  41.  
  42. {$PUSH}
  43. {$ALIGN MAC68K}
  44. {$LibExport+}
  45.  
  46. {$IFC FOR_SYSTEM8_COOPERATIVE }
  47. FUNCTION GetNewTextEngineBySignature(theEngineSignature: TextEngineID; VAR theEngine: TSystemTextEnginePtr): OSStatus; C;
  48. FUNCTION GetNewTextEngineByClassName(VAR className: Str32; majorVersion: SInt32; minorVersion: SInt32; VAR theTextEngine: TSystemTextEnginePtr): OSStatus; C;
  49. FUNCTION GetSystemTextEngineInstance(VAR theTextEngine: TSystemTextEnginePtr): OSStatus; C;
  50. FUNCTION FindTextEngine(VAR theDesiredFeatures: TextEngineFeature; nFeatures: ItemCount; VAR theTextEngine: TSystemTextEnginePtr): OSStatus; C;
  51. FUNCTION IsFeatureSupported(theEngineSignature: TextEngineID; theDesiredFeature: TextEngineFeature; VAR isSupported: BOOLEAN): OSStatus; C;
  52. {$ENDC}
  53. {$ALIGN RESET}
  54. {$POP}
  55.  
  56. {$SETC UsingIncludes := TextEnginesIncludes}
  57.  
  58. {$ENDC} {__TEXTENGINES__}
  59.  
  60. {$IFC NOT UsingIncludes}
  61.  END.
  62. {$ENDC}
  63.